.class public final Lf/a;
.super Lkairo/android/g/c;


# instance fields
.field public a:Ljava/lang/String;

.field public b:Ljava/lang/String;

.field public c:Ljava/lang/String;

.field private d:Lkairo/android/g/i;

.field private e:Lkairo/android/g/j;

.field private f:Lkairo/android/g/a;

.field private g:Lkairo/android/g/a;

.field private h:Lkairo/android/ui/a;

.field private i:I

.field private j:[C

.field private k:Ljava/lang/String;

.field private l:Z

.field private m:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lkairo/android/g/c;-><init>()V

    const/4 v0, 0x4

    new-array v0, v0, [C

    fill-array-data v0, :array_0

    iput-object v0, p0, Lf/a;->j:[C

    const-string v0, "\u540d\u79f0"

    iput-object v0, p0, Lf/a;->k:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lf/a;->l:Z

    return-void

    nop

    :array_0
    .array-data 2
        0x2fs
        0x7cs
        0x3cs
        0x3es
    .end array-data
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;I)V
    .locals 2

    invoke-direct {p0}, Lkairo/android/g/c;-><init>()V

    const/4 v0, 0x4

    new-array v0, v0, [C

    fill-array-data v0, :array_0

    iput-object v0, p0, Lf/a;->j:[C

    const-string v0, "\u540d\u79f0"

    iput-object v0, p0, Lf/a;->k:Ljava/lang/String;

    const/4 v0, 0x1

    iput-boolean v0, p0, Lf/a;->l:Z

    iput-object p2, p0, Lf/a;->c:Ljava/lang/String;

    iput p3, p0, Lf/a;->i:I

    new-instance v0, Lkairo/android/g/i;

    invoke-direct {v0, p1}, Lkairo/android/g/i;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lf/a;->d:Lkairo/android/g/i;

    new-instance v0, Lkairo/android/g/j;

    invoke-direct {v0, p2}, Lkairo/android/g/j;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    new-instance v0, Lkairo/android/g/a;

    const-string v1, "\u51b3\u5b9a"

    invoke-direct {v0, v1}, Lkairo/android/g/a;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lf/a;->f:Lkairo/android/g/a;

    new-instance v0, Lkairo/android/g/a;

    const-string v1, "\u8fd4\u56de"

    invoke-direct {v0, v1}, Lkairo/android/g/a;-><init>(Ljava/lang/String;)V

    iput-object v0, p0, Lf/a;->g:Lkairo/android/g/a;

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, v0, Lkairo/android/g/j;->a:Ljava/lang/String;

    iput-object v0, p0, Lf/a;->b:Ljava/lang/String;

    iget-object v0, p0, Lf/a;->d:Lkairo/android/g/i;

    iget-object v0, p0, Lf/a;->d:Lkairo/android/g/i;

    iget-object v0, p0, Lf/a;->d:Lkairo/android/g/i;

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, p0, Lf/a;->f:Lkairo/android/g/a;

    iget-object v0, p0, Lf/a;->f:Lkairo/android/g/a;

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, p0, Lf/a;->g:Lkairo/android/g/a;

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, p0, Lf/a;->d:Lkairo/android/g/i;

    invoke-virtual {p0, v0}, Lf/a;->a(Lkairo/android/g/b;)V

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    invoke-virtual {p0, v0}, Lf/a;->a(Lkairo/android/g/b;)V

    iget-object v0, p0, Lf/a;->f:Lkairo/android/g/a;

    invoke-virtual {p0, v0}, Lf/a;->a(Lkairo/android/g/b;)V

    iget-object v0, p0, Lf/a;->g:Lkairo/android/g/a;

    invoke-virtual {p0, v0}, Lf/a;->a(Lkairo/android/g/b;)V

    return-void

    nop

    :array_0
    .array-data 2
        0x2fs
        0x7cs
        0x3cs
        0x3es
    .end array-data
.end method


# virtual methods
.method public final a(Lkairo/android/ui/a;)Ljava/lang/String;
    .locals 2

    :goto_0
    invoke-virtual {p1}, Lkairo/android/ui/a;->k()I

    move-result v0

    const/high16 v1, 0x100000

    and-int/2addr v0, v1

    if-eqz v0, :cond_0

    const-wide/16 v0, 0x64

    :try_start_0
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_0

    :cond_0
    iput-object p1, p0, Lf/a;->h:Lkairo/android/ui/a;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lf/a;->m:Z

    :goto_1
    iget-boolean v0, p0, Lf/a;->m:Z

    if-nez v0, :cond_1

    invoke-super {p0}, Lkairo/android/g/c;->a()V

    const/4 v0, 0x1

    invoke-static {v0}, Lkairo/android/ui/IApplication;->b(I)V

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lf/a;->a:Ljava/lang/String;

    return-object v0
.end method

.method public final a(Lkairo/android/g/b;I)V
    .locals 10

    const/16 v9, 0x20

    const/4 v5, 0x3

    const/4 v4, 0x2

    const/4 v1, 0x0

    const/4 v3, 0x1

    if-ne p2, v3, :cond_8

    iget-object v0, p0, Lf/a;->f:Lkairo/android/g/a;

    if-ne p1, v0, :cond_11

    iget-object v0, p0, Lf/a;->e:Lkairo/android/g/j;

    iget-object v0, v0, Lkairo/android/g/j;->a:Ljava/lang/String;

    const/16 v2, 0xa

    invoke-virtual {v0, v2, v9}, Ljava/lang/String;->replace(CC)Ljava/lang/String;

    move-result-object v7

    move v0, v1

    move v2, v1

    :goto_0
    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v6

    if-ge v0, v6, :cond_4

    invoke-virtual {v7, v0}, Ljava/lang/String;->charAt(I)C

    move-result v6

    const/16 v8, 0x7f

    if-ge v6, v8, :cond_0

    if-ge v6, v9, :cond_1

    :cond_0
    const v8, 0xff60

    if-le v6, v8, :cond_2

    const v8, 0xff9f

    if-gt v6, v8, :cond_2

    :cond_1
    move v6, v3

    :goto_1
    if-eqz v6, :cond_3

    add-int/lit8 v2, v2, 0x1

    :goto_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_2
    move v6, v1

    goto :goto_1

    :cond_3
    add-int/lit8 v2, v2, 0x2

    goto :goto_2

    :cond_4
    iget v0, p0, Lf/a;->i:I

    if-le v2, v0, :cond_12

    move v0, v3

    :goto_3
    move v2, v1

    :goto_4
    iget-object v6, p0, Lf/a;->j:[C

    array-length v6, v6

    if-ge v2, v6, :cond_5

    iget-object v6, p0, Lf/a;->j:[C

    aget-char v6, v6, v2

    invoke-virtual {v7, v6}, Ljava/lang/String;->indexOf(I)I

    move-result v6

    const/4 v8, -0x1

    if-eq v6, v8, :cond_9

    move v0, v4

    :cond_5
    invoke-virtual {v7}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_6

    move v0, v5

    :cond_6
    if-nez v0, :cond_b

    iput-object v7, p0, Lf/a;->a:Ljava/lang/String;

    iget-object v0, p0, Lf/a;->a:Ljava/lang/String;

    iget-object v2, p0, Lf/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_a

    iget-object v0, p0, Lf/a;->c:Ljava/lang/String;

    iput-object v0, p0, Lf/a;->a:Ljava/lang/String;

    :goto_5
    iget-boolean v0, p0, Lf/a;->l:Z

    if-nez v0, :cond_7

    iget-object v0, p0, Lf/a;->a:Ljava/lang/String;

    const-string v2, "\u0008"

    invoke-virtual {v0, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lf/a;->a:Ljava/lang/String;

    iget-object v2, p0, Lf/a;->a:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lf/a;->a:Ljava/lang/String;

    :cond_7
    iget-object v0, p0, Lf/a;->h:Lkairo/android/ui/a;

    iput-boolean v3, p0, Lf/a;->m:Z

    :cond_8
    :goto_6
    return-void

    :cond_9
    add-int/lit8 v2, v2, 0x1

    goto :goto_4

    :cond_a
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lf/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v2, "\u0008"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lf/a;->a:Ljava/lang/String;

    goto :goto_5

    :cond_b
    if-ne v0, v3, :cond_d

    iget v0, p0, Lf/a;->i:I

    invoke-static {}, Lkairo/android/i/h;->a()Z

    move-result v1

    if-eqz v1, :cond_c

    div-int/lit8 v0, v0, 0x2

    :cond_c
    new-instance v1, Lkairo/android/ui/g;

    const-string v2, "\u4fe1\u606f"

    invoke-direct {v1, v3, v2}, Lkairo/android/ui/g;-><init>(ILjava/lang/String;)V

    const-string v2, "\u8bf7\u8f93\u5165<0>\u4e2a\u4ee5\u5185\u5168\u89d2\u6587\u5b57"

    invoke-static {v2}, Lkairo/android/i/h;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v0}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {v2, v0}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lkairo/android/ui/g;->a(Ljava/lang/String;)V

    invoke-virtual {v1}, Lkairo/android/ui/g;->a()I

    goto :goto_6

    :cond_d
    if-ne v0, v4, :cond_10

    new-instance v2, Lkairo/android/ui/g;

    const-string v0, "\u4fe1\u606f"

    invoke-direct {v2, v3, v0}, Lkairo/android/ui/g;-><init>(ILjava/lang/String;)V

    const-string v0, ""

    :goto_7
    iget-object v3, p0, Lf/a;->j:[C

    array-length v3, v3

    if-ge v1, v3, :cond_f

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    if-lez v3, :cond_e

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v3, " "

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :cond_e
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v3, p0, Lf/a;->j:[C

    aget-char v3, v3, v1

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    add-int/lit8 v1, v1, 0x1

    goto :goto_7

    :cond_f
    const-string v1, "\u7531\u4e8e\u7cfb\u7edf\u539f\u56e0 <0> \u65e0\u6cd5\u4f7f\u7528"

    invoke-static {v1}, Lkairo/android/i/h;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v0}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lkairo/android/ui/g;->a(Ljava/lang/String;)V

    invoke-virtual {v2}, Lkairo/android/ui/g;->a()I

    goto/16 :goto_6

    :cond_10
    if-ne v0, v5, :cond_8

    new-instance v0, Lkairo/android/ui/g;

    const-string v1, "\u4fe1\u606f"

    invoke-direct {v0, v3, v1}, Lkairo/android/ui/g;-><init>(ILjava/lang/String;)V

    const-string v1, "\u8bf7\u8f93\u5165<0>"

    invoke-static {v1}, Lkairo/android/i/h;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lf/a;->k:Ljava/lang/String;

    invoke-static {v1, v2}, Lkairo/android/i/m;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lkairo/android/ui/g;->a(Ljava/lang/String;)V

    invoke-virtual {v0}, Lkairo/android/ui/g;->a()I

    goto/16 :goto_6

    :cond_11
    const/4 v0, 0x0

    iput-object v0, p0, Lf/a;->a:Ljava/lang/String;

    iget-object v0, p0, Lf/a;->h:Lkairo/android/ui/a;

    iput-boolean v3, p0, Lf/a;->m:Z

    goto/16 :goto_6

    :cond_12
    move v0, v1

    goto/16 :goto_3
.end method
